<?php
require_once __Dir__ . '/../simpletest/autorun.php';
require_once __Dir__ . '/../../Core/Commons/Logger.php';
require_once __Dir__ . '/../../Core/BonoHomeCore/BonoHomeCoreService.php';

class TestOfUploadDocuments extends UnitTestCase 
{
	/*
		Check a correct add answer
	*/
    function testCorrectUploadDocuments() 
	{
		$tempPath = 'c:/temp';
		$dirPath = 'c:/temp/DisplaySettings';
		$filename = 'toto.png';
		
		//get documents from root
		$service = new BonoHomeCoreService();
		$response = $service->uploadDocument($tempPath, $dirPath, $filename);

		$this->assertTrue($response->isFailed == false);
    }
	
	
	/*
		Check an invalid add answer
	*/
    function testInvalidUploadDocuments() 
	{
    }
}
?>